.PHONY:all
all:CalcServer CalcClient

CalcServer:CalcServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

CalcClient:CalcClient.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -rf CalcServer CalcClient